home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJLSR106.ARJ / GETCHAR.C < prev    next >
C/C++ Source or Header  |  1992-03-02  |  490b  |  22 lines

  1. /* This is file GETCHAR.C */
  2. /* This file may have been modified by DJ Delorie (Jan 1991).  If so,
  3. ** these modifications are Coyright (C) 1991 DJ Delorie, 24 Kirsten Ave,
  4. ** Rochester NH, 03867-2954, USA.
  5. */
  6.  
  7. #if defined(LIBC_SCCS) && !defined(lint)
  8. static char sccsid[] = "@(#)getchar.c    5.2 (Berkeley) 3/9/86";
  9. #endif LIBC_SCCS and not lint
  10.  
  11. /*
  12.  * A subroutine version of the macro getchar.
  13.  */
  14. #include <stdio.h>
  15.  
  16. #undef getchar
  17.  
  18. getchar()
  19. {
  20.     return(getc(stdin));
  21. }
  22.